package com.bdqn.petmalldemo.bo;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Author:彭俊
 * @description:新增收货地址条件实体类
 * @date:2020/2/192355
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = false)
public class ShippingAddBo  implements Serializable {
    private static final long serialVersionUID = -4533120326733147437L;
    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "登录token")
    private String token;
    @ApiModelProperty(value = "收件人")
    private String name;
    @ApiModelProperty(value = "收货地址")
    private String address;
    @ApiModelProperty(value = "联系电话")
    private String phone;
    @ApiModelProperty(value = "邮政编码")
    private String zipCode;
    @ApiModelProperty(value = "当前用户Id")
    private String userId;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
